package org.common.utils.rpc.net.serialization;

import org.common.utils.fury.FuryTool;

/**
 * Fury序列化实现
 * @author zhouzhibing
 * @date 2025/11/16 18:07
 */
public class RpcFurySerialization implements RpcSerialization {

    @Override
    public byte[] serialize(Object o) throws Exception {
        return FuryTool.serialize(o);
    }

    @Override
    public <T> T deserialize(byte[] bytes) throws Exception {
        return FuryTool.deserialize(bytes);
    }

}
